//
//  Constant.swift
//  xinlangweiBo2
//
//  Created by 杨和逵 on 16/2/28.
//  Copyright © 2016年 yanghekui. All rights reserved.
//

import UIKit


//MARK：--微博系统申请的账号信息

//let App_Key = "580611343"
//let App_Secret = "790738cf74babf98f9230cbfbad3f37c"
//let App_URL = "http://www.baidu.com/baidu.html"

let App_Key = "1239386468"
let App_Secret = "48769a1db79ee9b32a1e80ec56bf8895"
let App_URL = "http://baidu.com"



let kNotificaionChangeRootVC = "ChangeRootVC"
let kNotificaionEmoticonTransform = "YHKEmoticonTransform"


//MARK:--系统宽高度
let kUIScreenBounds = UIScreen.mainScreen().bounds
let kUIScreenWidth = UIScreen.mainScreen().bounds.width
let kUIScreenHeigth = UIScreen.mainScreen().bounds.height

//MARK:--颜色相关
//let randomColor = UIColor(red: CGFloat(random()%255)/255.0, green: CGFloat(random()%255)/255.0, blue: CGFloat(random()%255)/255.0, alpha: 1)
func randomColor() -> UIColor{
    return  UIColor(red: CGFloat(random()%255)/255.0, green: CGFloat(random()%255)/255.0, blue: CGFloat(random()%255)/255.0, alpha: 1)
}